import Mock from "mockjs"
const homeData = Mock.mock([
  {
    id:'dasd-23151351',
    price: '16655',
    method: '支付宝',
    fahuo: '是',
    time: '230125586'
  },
  {
    id:'fg-564546',
    price: '5623',
    method: '支付宝',
    fahuo: '否',
    time: '3123543'
  },
  {
    id:'dsad-2222356',
    price: '16655',
    method: 'vx',
    fahuo: '是',
    time: '232151'
  },
  {
    id:'dasd-321321354',
    price: '16655',
    method: 'vx',
    fahuo: '否',
    time: '230125586'
  },
  {
    id:'5454-231321354',
    price: '16655',
    method: '支付宝',
    fahuo: '是',
    time: '230125586'
  },
  {
    id:'gfdfg-23151351',
    price: '16655',
    method: 'vx',
    fahuo: '否',
    time: '230125586'
  },
  {
    id:'asdsad-23151351',
    price: '16655',
    method: '支付宝',
    fahuo: '是',
    time: '230125586'
  },
  {
    id:'xzvcvc-23151351',
    price: '16655',
    method: '支付宝',
    fahuo: '是',
    time: '230125586'
  },
  {
    id:'hfghd-23151351',
    price: '16655',
    method: '支付宝',
    fahuo: '是',
    time: '230125586'
  },
  {
    id:'fdhcv-23151351',
    price: '16655',
    method: 'vx',
    fahuo: '是',
    time: '230125586'
  },
  {
    id:'pojdfsf-23151351',
    price: '16655',
    method: '支付宝',
    fahuo: '否',
    time: '230125586'
  },
])

Mock.mock('/orders', 'get',() => {
  return homeData
})